package com.hotel.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Check {

    private Integer id;
    private String name;
    private String code;
    private String phone;
    private String address;
    private String roomId;
    private String roomNumber;
    private String status;
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm")
    private Date checkInTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm")
    private Date checkOutTime;
    private Date clearTime;
    private String price;
    private String count;

}
